/**
 * 暂停休息
 * @param ms 暂停时间
 * @returns 
 */
export const sleep = (ms: number) => {
    return new Promise((resolve) => setTimeout(resolve, ms))
}